Skip to content

Better search and ticket numbers #7

Closed
wants to merge 3 commits into from
Closed

Conversation

ejunga
Copy link
Collaborator

@ejunga ejunga commented Apr 21, 2025

These additions modify the search functionality to have ticket numbers entered into the search bar open the corresponding ticket in a new tab, rather than in a new window as is done currently.

In addition, it adds a function that appends the current ticket number to the beginning of the webpage title.

ejunga added 3 commits April 21, 2025 12:20
Previously, betterSearch was always applied, now it follows the link behavior settings, only being applied when the mode is "tabs"
@ejunga
Copy link
Collaborator Author

ejunga commented Apr 22, 2025

Just edited the application of the betterSearch function so that the behavior of the search bar follows the link behavior setting, as someone with their link behavior set to "window" likely would prefer the old functionality of opening in the window. Now betterSearch() is only called when the link behavior is set to "tabs"

@ejunga
Copy link
Collaborator Author

ejunga commented Jun 2, 2025

Closing, as searches are now opened in new tdx tabs, and the ticket numbers add little functionality.

@ejunga ejunga closed this Jun 2, 2025
@ejunga ejunga deleted the better-search branch June 2, 2025 13:43
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant